let myIterable = {
  [Symbol.iterator]: function* () {
    yield 1;
    yield 2;
    yield 3;
  }
};
// const res = [...myIterable] // [1, 2, 3]
// console.log(res)

const it = myIterable[Symbol.iterator]()


console.log([...it])
